package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.RecommendUser;

import java.util.List;

public interface RecommendUserApi {
    //根据toUserId查询Score最高的用户
    RecommendUser queryWithMaxScore(Long toUserId);

    //根据toUserId分页查询推荐用户
    List<RecommendUser> queryRecommendUserList(Long toUserId, Integer page, Integer pagesize);

    //根据userId和toUserId查询推荐信息
    RecommendUser queryByUserId(Long userId, Long toUserId);
}
